package entity;
import lombok.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResearchProjects {
    private Integer id;
    private Integer studentId;
    private String projectType; // 对应数据库的enum('创新项目','导师项目')
    private String name;
    private String role;
    private BigDecimal score; // 匹配数据库的decimal(5,2)
    private Integer year; // 对应数据库的year类型
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}